import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "home",
    component: () => import("../views/01.vue"),
  },
  {
    path: "/01",
    name: "01",
    component: () => import("../views/01.vue"),
  },
  {
    path: "/02",
    name: "02",
    component: () => import("../views/02.vue"),
  },
  {
    path: "/03",
    name: "03",
    component: () => import("../views/03.vue"),
  },
  {
    path: "/04",
    name: "04",
    component: () => import("../views/04.vue"),
  },
];

const router = new VueRouter({
  mode: "hash",
  base: process.env.BASE_URL,
  routes,
});

export default router;
